<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>字体属性 | 个人笔记</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    
    <link rel="prev" href="../../md/css/背景属性.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="2.3.2"
        data-chapter-title="字体属性"
        data-filepath="md/css/字体属性.md"
        data-basepath="../.."
        data-revision="Thu Jun 07 2018 19:36:00 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="md/gitbook的安装.html">
            
                
                    <a href="../../md/gitbook的安装.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        gitbook的安装
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2" data-path="md/css/CSS的认识.html">
            
                
                    <a href="../../md/css/CSS的认识.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        CSS
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="md/css/css语法结构及引入方式.html">
            
                
                    <a href="../../md/css/css语法结构及引入方式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        css语法结构及引入方式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="md/css/css选择符及用法.html">
            
                
                    <a href="../../md/css/css选择符及用法.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        css选择符及用法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="md/css/CSS属性.html">
            
                
                    <a href="../../md/css/CSS属性.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        CSS属性
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="md/css/背景属性.html">
            
                
                    <a href="../../md/css/背景属性.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.1.</b>
                        
                        背景属性
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="2.3.2" data-path="md/css/字体属性.html">
            
                
                    <a href="../../md/css/字体属性.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.2.</b>
                        
                        字体属性
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../" >个人笔记</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="&#x5B57;&#x4F53;&#x5C5E;&#x6027;">&#x5B57;&#x4F53;&#x5C5E;&#x6027;</h1>
<pre><code>width:&#x8BBE;&#x7F6E;&#x5143;&#x7D20;&#x7684;&#x5BBD;&#x5EA6;
height&#xFF1A;&#x8BBE;&#x7F6E;&#x5143;&#x7D20;&#x7684;&#x9AD8;&#x5EA6;
</code></pre><h2 id="&#x5B57;&#x4F53;&#x6837;&#x5F0F;">&#x5B57;&#x4F53;&#x6837;&#x5F0F;</h2>
<ul>
<li>font-size&#xFF1A;&#x8BBE;&#x7F6E;&#x5B57;&#x4F53;&#x5927;&#x5C0F;</li>
<li>font-weight:&#x8BBE;&#x7F6E;&#x5B57;&#x4F53;&#x7C97;&#x7EC6;<pre><code>       100~500&#x6B63;&#x5E38;&#x5B57;&#x4F53;&#x7C97;&#x7EC6;
        600~900&#x52A0;&#x7C97;&#x6548;&#x679C;
        bold&#x52A0;&#x7C97;&#xFF0C;&#x548C;600~900&#x7684;&#x7C97;&#x7EC6;&#x662F;&#x4E00;&#x6837;&#x7684;
</code></pre></li>
<li>font-family&#xFF1A;&#x8BBE;&#x7F6E;&#x5B57;&#x4F53;&#x7CFB;&#x5217;&#xFF0C;&#x6BD4;&#x5982;&#xFF1A;&#x5FAE;&#x8F6F;&#x96C5;&#x9ED1;&#xFF0C;&#x9ED1;&#x4F53;&#x3002;&#x3002;&#x3002;</li>
<li>font-style&#xFF1A;&#x5B57;&#x4F53;&#x7684;&#x6837;&#x5F0F;<pre><code>                italic&#xFF0C;oblique&#xFF1A;&#x659C;&#x4F53;
                normal&#xFF1A;&#x6B63;&#x5E38;&#x7684;&#x5B57;&#x4F53;&#x5927;&#x5C0F;
</code></pre></li>
<li><p>line-height:&#x884C;&#x9AD8;</p>
<p>   &#x901A;&#x5E38;&#x4F1A;&#x8BBE;&#x7F6E;1.5&#x500D;&#x7684;&#x884C;&#x9AD8;&#xFF0C;&#x8FD9;&#x4E2A;1.5&#x500D;&#x6307;&#x7684;&#x662F;&#x81EA;&#x8EAB;&#x5B57;&#x4F53;&#x5927;&#x5C0F;&#x7684;1.5&#x500D;</p>
<pre><code>*&#x6CE8;&#x610F;&#xFF1A;&#x5F53;&#x5BB9;&#x5668;&#x91CC;&#x9762;&#x53EA;&#x6709;&#x4E00;&#x884C;&#x6587;&#x5B57;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x8BBE;&#x7F6E;&#x884C;&#x9AD8;&#x7B49;&#x4E8E;&#x9AD8;&#x53EF;&#x4EE5;&#x4F7F;&#x6587;&#x5B57;&#x5782;&#x76F4;&#x5C45;&#x4E2D;&#x5728;&#x5BB9;&#x5668;&#x4E2D;*
</code></pre></li>
</ul>
<ul>
<li>color:&#x8BBE;&#x7F6E;&#x5B57;&#x4F53;&#x7684;&#x989C;&#x8272;    </li>
<li>opacity:&#x8BBE;&#x7F6E;&#x900F;&#x660E;&#x5EA6;</li>
</ul>
<h2 id="&#x4F2A;&#x7C7B;&#x6548;&#x679C;elementhover">&#x4F2A;&#x7C7B;&#x6548;&#x679C;(element:hover)</h2>
<p> &#x5373;&#x5F53;&#x9F20;&#x6807;&#x653E;&#x5230;&#x76EE;&#x6807;&#x5143;&#x7D20;&#x4E0A;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x4F1A;&#x89E6;&#x53D1;&#x4E00;&#x4E9B;&#x4E8B;&#x60C5;&#xFF08;&#x8FD9;&#x4E9B;&#x4E8B;&#x60C5;&#x7531;&#x6211;&#x4EEC;&#x81EA;&#x5DF1;&#x5B9A;&#x4E49;&#xFF09;</p>
<p> &#x6BD4;&#x5982;&#xFF1A;&#x6539;&#x53D8;&#x8BE5;&#x5143;&#x7D20;&#x7684;&#x80CC;&#x666F;&#x989C;&#x8272;</p>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../../md/css/背景属性.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 背景属性"><i class="fa fa-angle-left"></i></a>
        
        
    </div>
</div>

        
<script src="../../gitbook/app.js"></script>

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
